#ifndef SUMMATOR_H
#define SUMMATOR_H

#include <QObject>


class Summator : public QObject
{
    Q_OBJECT
    int m_a;
    int m_b;

public:
    explicit Summator(QObject *parent);
    void setA(int a);
    void setB(int b);
    int  sum()const;

signals:
    void valueChanged();

public slots:

};

#endif // SUMMATOR_H
